package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-BGP协议-BGP实例配置对象 element_bgp
 * 
 * @author tony
 * @date 2024-11-17
 */
public class ElementBgp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 本地AS号 */
    @Excel(name = "本地AS号")
    private String asId;

    /** 路由器ID */
    @Excel(name = "路由器ID")
    private String routeId;

    /** 优雅重启-邻居重启时间 */
    @Excel(name = "优雅重启-邻居重启时间")
    private String neighbRestartTime;

    /** 优雅重启-路径维持时间 */
    @Excel(name = "优雅重启-路径维持时间")
    private String pathKeepTime;

    /** 优雅重启-GR使能 */
    @Excel(name = "优雅重启-GR使能")
    private String grEnable;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setAsId(String asId) 
    {
        this.asId = asId;
    }

    public String getAsId() 
    {
        return asId;
    }
    public void setRouteId(String routeId) 
    {
        this.routeId = routeId;
    }

    public String getRouteId() 
    {
        return routeId;
    }
    public void setNeighbRestartTime(String neighbRestartTime) 
    {
        this.neighbRestartTime = neighbRestartTime;
    }

    public String getNeighbRestartTime() 
    {
        return neighbRestartTime;
    }
    public void setPathKeepTime(String pathKeepTime) 
    {
        this.pathKeepTime = pathKeepTime;
    }

    public String getPathKeepTime() 
    {
        return pathKeepTime;
    }
    public void setGrEnable(String grEnable) 
    {
        this.grEnable = grEnable;
    }

    public String getGrEnable() 
    {
        return grEnable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("asId", getAsId())
            .append("routeId", getRouteId())
            .append("neighbRestartTime", getNeighbRestartTime())
            .append("pathKeepTime", getPathKeepTime())
            .append("grEnable", getGrEnable())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
